package com.aaa.hospital.mapper;

import com.aaa.hospital.pojo.domain.News;
import com.aaa.hospital.pojo.query.NewsAgreeQuery;
import com.aaa.hospital.pojo.vo.NewsVO;

import java.util.List;

/**
 * @program:qy888
 * @description:www
 * @author:LJW
 * @version: 1.0
 * @create:2022-02-23 08:46
 */
public interface NewsAgreeMapper {
    List<News> queryNewsAgree(NewsAgreeQuery newsAgreeQuery);

    Long queryNewsAgreeTotal(NewsAgreeQuery newsAgreeQuery);

    News seeByID(Integer id);

    int pass(Integer id);

    int refuse(NewsVO newsVO);
}
